package com.zhouyu;

import com.zhouyu.service.OrderService;
import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyImportSelect implements DeferredImportSelector {
	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		System.out.println("MyImportSelect 来构建 OrderService");
		return new String[]{OrderService.class.getName()};
	}
}
